package fpt.edu.vn.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/* 
 * Ratetopics.java
 *  
 * 0.1
 * 
 * 10/15/2012 
 *  
 * Copyright notice 
 *  
 * Modification Logs: 
 *   DATE        AUTHOR      DESCRIPTION 
 *  -------------------------------------------------------- 
 *  15-Oct-2012  ThuongND    Create new 
 */
@Entity
@Table(name = "fsh_ratetopics")
public class Ratetopics implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int rateTopicId;

	private int topicId;

	private int usersId;
	private int pointRate;

	@Id
	@GeneratedValue
	@Column(name = "RateTopicId")
	public int getRateTopicId() {
		return rateTopicId;
	}

	public void setRateTopicId(int rateTopicId) {
		this.rateTopicId = rateTopicId;
	}

	@Column(name = "TopicId")
	public int getTopicId() {
		return topicId;
	}

	public void setTopicId(int topicId) {
		this.topicId = topicId;
	}

	@Column(name = "UsersId")
	public int getUsersId() {
		return usersId;
	}

	public void setUsersId(int usersId) {
		this.usersId = usersId;
	}

	@Column(name = "PointRate")
	public int getPointRate() {
		return pointRate;
	}

	public void setPointRate(int pointRate) {
		this.pointRate = pointRate;
	}

}
